export let formerTime = times => {
    let m = Math.floor((times / 60) % 60);
    let s = times % 60
    return addZero(m) + ':' + addZero(s)
}

export let addZero = i => {
    return i < 10 ? '0' + i : i
}